package com.crowntit.test.types.rule01.logic;

import com.crowntit.test.types.rule01.factory.Rule01TradeRuleFactory;
import com.crowntit.types.design.framework.link.model1.AbstractLogicLink;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class RuleLogic102 extends AbstractLogicLink<String, Rule01TradeRuleFactory.DynamicContext, String> {
    @Override
    public String apply(String requestParam, Rule01TradeRuleFactory.DynamicContext dynamicContext) throws Exception {
        log.info("责任链01-102节点：{}", requestParam);
        return "from logic102: " + requestParam;
    }
}
